package com.zhanghe.mall.pojo.repository;

import com.zhanghe.mall.pojo.AccountRole;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface AccountRoleRepository extends JpaRepository<AccountRole,Long> {

    List<AccountRole> findByAccount_IdAndRole_System_Id(Long accountId,Long systemId);

}
